﻿namespace GN.Data.Entity.Attribute
{
    public class NumericAttribute : BaseAttribute
    {
        /// <summary>
        /// 最小值
        /// </summary>
        public int Min = int.MinValue;

        /// <summary>
        /// 最大值
        /// </summary>
        public int Max = int.MaxValue;

        public NumericAttribute()
        {

        }

        public NumericAttribute(int min, int max)
        {
            this.Min = min;
            this.Max = max;
        }
    }
}
